Let's generate some synthetic flares and compare the energies measured by our flare finding algorithm with the known values. This is to demonstrate what a few of the synthetic flares look like and what the fits to them look like. The full simulation is done later (this cell replicates that function's code and adds some plotting.)